import fs from 'fs'
const sum = ({ a, b }) => {
  return a + b
}

const createFile = ({ filename, content }) => {
  try {
    fs.writeFileSync(filename, content)
    return true
  } catch (error) {
    return false
  }
}

export default {
  sum,
  createFile
}